package com.usian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.entity.Ques;
import com.usian.entity.QuesVO;
import com.usian.mapper.QuesMapper;
import com.usian.service.QuesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/8/30 11:24
 */

@Service
public class QuesServiceImpl extends ServiceImpl<QuesMapper, Ques> implements QuesService {
    @Autowired
    private QuesMapper quesMapper;
    @Override
    public List<QuesVO> findAllqueList(Ques que) {

        List<QuesVO> list = quesMapper.findAllqueLsit(que);

        return list;

    }

    @Override
    public List<QuesVO> findAllqueList2(Ques que) {
        return quesMapper.findAllquesList2(que);
    }

    @Override
    public List<QuesVO> findAllqueList3(Integer queSort) {
        return quesMapper.findAllquesList3(queSort);
    }
}
